*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
.chat-window{
    width: 640px;
    height: 500px;
    background-color: #f2f3f5;
    margin: auto;
    margin-top: 100px;
    border-radius: 10px;
    border: 1px solid #6f96ca;
    box-shadow: 0 0 14px -8px;
    display: flex;
    flex-direction: column;
}
.chat-window .top{
    width: 640px;
    height: 50px;
    line-height: 50px;
    padding-left: 10px;
    font-weight: bold;
    border-radius: 10px 10px 0 0;
    border-bottom: 1px solid #dcdee0;
}
.chat-window .records{
    flex: 1;
    padding: 10px;
    font-size: 14px;
    overflow: auto;
    border-bottom: 1px solid #dcdee0;
}
.chat-window .records .new-user{
    text-align: center;
    color: #aaa;
    margin-bottom: 10px;
}
.chat-window .records .leave-user{
    text-align: center;
    color: #aaa;
    margin-bottom: 10px;
}
.chat-window .records::-webkit-scrollbar{
    display: none;
}
.chat-window .records .others-wrap,
.chat-window .records .self-wrap{
   margin-bottom: 10px;
}
.chat-window .records .self-wrap{
   text-align: right;
}
.chat-window .records .others-content,
.chat-window .records .self-content{
    display: inline-block;
    max-width: 400px;
    background-color: #dee0e3;
    padding: 4px 8px;
    border-radius: 4px;
}
.chat-window .records .others-name{
    font-size: 12px;
    margin-bottom: 4px;
    color: #aaa;
}
.chat-window .records .self-content{
    background-color: #cce4fc;
}
.chat-window .import{
    height: 120px;
}
.chat-window .import textarea{
    background-color: #f2f3f5;
    display: block;
    width: 100%;
    border: 0;
    resize: none;
    height: 80px;
    outline: none;
    font-size: 14px;
    padding: 4px 10px;
}
.chat-window .import textarea::-webkit-scrollbar{
    display: none;
}
.chat-window .import .send-wrap{
    height: 40px;
    line-height: 40px;
    border-radius: 0 0 10px 10px;
    text-align: right;
}
.chat-window .import .send-wrap .send-btn{
    cursor: pointer;
    font-size: 14px;
    color: #6e7882;
    margin-right: 10px;
}
.chat-window .import .send-wrap .send-btn:hover{
    color: #468ceb;
}
@media screen and (max-width: 1024px) {
    .chat-window{
        width: 100vw;
        height: 100vh;
        margin: 0;
        border: 0;
    }
    .chat-window .top{
        text-align: center;
        width: 100vw;
    }
    .chat-window .records .others-content,
    .chat-window .records .self-content{
        max-width: 80vw;
    }
}